package com.dmap.knowledge.vo;

import com.dmap.knowledge.po.ArticleColumn;

import java.io.Serializable;

public class ArticleColumnDownListVo implements Serializable {
    
    private String columnId;  //columnId
    private String name;       //名称
    private String key;        //column关键字
    private String iconUrl;     //图片链接
    
    
    public ArticleColumnDownListVo(ArticleColumn articleColumn) {
        if (articleColumn.getId() != null) {
            this.columnId = articleColumn.getId().toString();
        }
        
        if (articleColumn.getName() != null) {
            this.name = articleColumn.getName();
        }
        if (articleColumn.getKeyName() != null) {
            this.key = articleColumn.getKeyName();
        }
        if (articleColumn.getIconUrl() != null) {
            this.iconUrl = articleColumn.getIconUrl();
        }
        
        
    }
    
    public ArticleColumnDownListVo() {
    }
    
    
    public String getIconUrl() {
        return iconUrl;
    }
    
    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }
    
    public String getColumnId() {
        return columnId;
    }
    
    public void setColumnId(String columnId) {
        this.columnId = columnId;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getKey() {
        return key;
    }
    
    public void setKey(String key) {
        this.key = key;
    }
}
